<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: UserTest2Message Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_user_test2_message-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">UserTest2Message Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for UserTest2Message:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_user_test2_message.png" usemap="#UserTest2Message_map" alt=""/>
  <map id="UserTest2Message_map" name="UserTest2Message_map">
<area href="class_q_qt_message.html" title="语法类 定义报文格式 " alt="QQtMessage" shape="rect" coords="0,56,119,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aef607dfe4a27c0a3cefa010882662fca"><td class="memItemLeft" align="right" valign="top"><a id="aef607dfe4a27c0a3cefa010882662fca"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>UserTest2Message</b> (QObject *parent=nullptr)</td></tr>
<tr class="separator:aef607dfe4a27c0a3cefa010882662fca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bff29b86b9aa155f1e5e4458fd14373"><td class="memItemLeft" align="right" valign="top"><a id="a6bff29b86b9aa155f1e5e4458fd14373"></a>
quint8 &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> ()</td></tr>
<tr class="separator:a6bff29b86b9aa155f1e5e4458fd14373"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa43afbe85344eccbbb77fa83d21cea5"><td class="memItemLeft" align="right" valign="top"><a id="aaa43afbe85344eccbbb77fa83d21cea5"></a>
const quint8 &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> () const</td></tr>
<tr class="separator:aaa43afbe85344eccbbb77fa83d21cea5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb546fe6d039ea82c44bd74ccc15a906"><td class="memItemLeft" align="right" valign="top"><a id="aeb546fe6d039ea82c44bd74ccc15a906"></a>
quint8 &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>cmd</b> ()</td></tr>
<tr class="separator:aeb546fe6d039ea82c44bd74ccc15a906"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9327ae93b2bb9f7ad2c2fa7a5f60723d"><td class="memItemLeft" align="right" valign="top"><a id="a9327ae93b2bb9f7ad2c2fa7a5f60723d"></a>
const quint8 &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>cmd</b> () const</td></tr>
<tr class="separator:a9327ae93b2bb9f7ad2c2fa7a5f60723d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a673e4150849c7d52886a64eb232f2c86"><td class="memItemLeft" align="right" valign="top"><a id="a673e4150849c7d52886a64eb232f2c86"></a>
quint8 &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>data</b> ()</td></tr>
<tr class="separator:a673e4150849c7d52886a64eb232f2c86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6125b5ec45817c2abe704bf019255dd"><td class="memItemLeft" align="right" valign="top"><a id="ad6125b5ec45817c2abe704bf019255dd"></a>
const quint8 &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>data</b> () const</td></tr>
<tr class="separator:ad6125b5ec45817c2abe704bf019255dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7a4a9e020c0ede85bee7d5e9d2c91ba"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user_test2_message.html#ad7a4a9e020c0ede85bee7d5e9d2c91ba">parser</a> (const QByteArray &amp;l) override</td></tr>
<tr class="memdesc:ad7a4a9e020c0ede85bee7d5e9d2c91ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">从流中解析报文 这个函数会更改局部变量  <a href="#ad7a4a9e020c0ede85bee7d5e9d2c91ba">More...</a><br /></td></tr>
<tr class="separator:ad7a4a9e020c0ede85bee7d5e9d2c91ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dedda7f8f5f49ca24fac391ba4d02d2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user_test2_message.html#a7dedda7f8f5f49ca24fac391ba4d02d2">packer</a> (QByteArray &amp;l) const override</td></tr>
<tr class="memdesc:a7dedda7f8f5f49ca24fac391ba4d02d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">将报文组装为流 这个函数不会更改局部变量  <a href="#a7dedda7f8f5f49ca24fac391ba4d02d2">More...</a><br /></td></tr>
<tr class="separator:a7dedda7f8f5f49ca24fac391ba4d02d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_q_qt_message"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_q_qt_message')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_q_qt_message.html">QQtMessage</a></td></tr>
<tr class="memitem:a73676d445ae6c57038c5f15d3f827cae inherit pub_methods_class_q_qt_message"><td class="memItemLeft" align="right" valign="top"><a id="a73676d445ae6c57038c5f15d3f827cae"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QQtMessage</b> (QObject *parent=0)</td></tr>
<tr class="separator:a73676d445ae6c57038c5f15d3f827cae inherit pub_methods_class_q_qt_message"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa787045396462da8a56651e40dec7896 inherit pub_methods_class_q_qt_message"><td class="memItemLeft" align="right" valign="top">virtual quint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_qt_message.html#aa787045396462da8a56651e40dec7896">minlength</a> () const</td></tr>
<tr class="memdesc:aa787045396462da8a56651e40dec7896 inherit pub_methods_class_q_qt_message"><td class="mdescLeft">&#160;</td><td class="mdescRight">最小报文长 这个函数不会更改局部变量  <a href="class_q_qt_message.html#aa787045396462da8a56651e40dec7896">More...</a><br /></td></tr>
<tr class="separator:aa787045396462da8a56651e40dec7896 inherit pub_methods_class_q_qt_message"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a141c945cf249d2cc7be8938078908e1f inherit pub_methods_class_q_qt_message"><td class="memItemLeft" align="right" valign="top">virtual quint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_qt_message.html#a141c945cf249d2cc7be8938078908e1f">maxlength</a> () const</td></tr>
<tr class="memdesc:a141c945cf249d2cc7be8938078908e1f inherit pub_methods_class_q_qt_message"><td class="mdescLeft">&#160;</td><td class="mdescRight">最大报文长 这个函数不会更改局部变量  <a href="class_q_qt_message.html#a141c945cf249d2cc7be8938078908e1f">More...</a><br /></td></tr>
<tr class="separator:a141c945cf249d2cc7be8938078908e1f inherit pub_methods_class_q_qt_message"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a7dedda7f8f5f49ca24fac391ba4d02d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7dedda7f8f5f49ca24fac391ba4d02d2">&#9670;&nbsp;</a></span>packer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UserTest2Message::packer </td>
          <td>(</td>
          <td class="paramtype">QByteArray &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>将报文组装为流 这个函数不会更改局部变量 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">l</td><td></td></tr>
    <tr><td class="paramname">m</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="class_q_qt_message.html#af1885c2c3628495808dca66ee8d72e14">QQtMessage</a>.</p>

</div>
</div>
<a id="ad7a4a9e020c0ede85bee7d5e9d2c91ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7a4a9e020c0ede85bee7d5e9d2c91ba">&#9670;&nbsp;</a></span>parser()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UserTest2Message::parser </td>
          <td>(</td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>从流中解析报文 这个函数会更改局部变量 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">m</td><td></td></tr>
    <tr><td class="paramname">l</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="class_q_qt_message.html#a0bc25669bdd61490b1d8df6d77565f31">QQtMessage</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>R:/Develop/a0-develop/LibQQt/examples/qqtnetworkexample/<a class="el" href="usertest2protocol_8h_source.html">usertest2protocol.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
